<?php

define('SYSTEM_PATH', realpath(dirname(__FILE__)).'/library');
define('APPLICATION_PATH', realpath(dirname(__FILE__)).'/application');



define('HTTP',   'http');

//Application root
define('APPLICATION_DIR', str_replace('\\', '/', realpath(dirname(__FILE__) . '/..')));

define ('APP_DEFAULT_LANGUAGE', 'vi');

//BO website suffix

define('WEBSITE_SUFFIX', '/xemhomnay/trunk/admin');
//BO EP

if (isset($_SERVER['HTTP_HOST']))
	define( 'APPLICATION_URL', HTTP.'://' . $_SERVER['HTTP_HOST'] . WEBSITE_SUFFIX );
else
	define( 'APPLICATION_URL', '../');

//Application name
define('APPLICATION_NAME', 	'cang-vu-hue');

define('CSS_URL', APPLICATION_URL.'/public/css/');
define('IMG_URL', APPLICATION_URL.'/public/images/');

include ('application/language/'.APP_DEFAULT_LANGUAGE.'/common.php');

?>
